import css from './index.module.scss'
import SearchLayout from "layout/search/SearchLayout"
import {useRouter} from 'next/router';

const Page = ()=>{
    const router = useRouter();

    const {query} = router;
    const id = Number(query.id);

    return (
        <SearchLayout title="商品详情">
            <h2>商品详情</h2>
            <p>id：{String(id)}</p>
        </SearchLayout>
    )
}

export default Page;